From 0256141ad70be0d254fd9958e8d28867db1d7531 Mon Sep 17 00:00:00 2001
From: Mr.Shi <1878285526@qq.com>
Date: 星期三, 06 九月 2023 13:47:07 +0800
Subject: [PATCH] 小程序
---
minipro_standard/pages_adjust/pages/addReceipt/addReceipt.vue | 252 ++++++++++++++++++++++++++---------
minipro_standard/pages_adjust/components/Material.vue | 79 ++++++++---
minipro_standard/pages_adjust/pages/newOutbound/newOutbound.vue | 28 ++-
minipro_standard/util/api/ExWarehouse.js | 10
minipro_standard/common/config.js | 4
5 files changed, 267 insertions(+), 106 deletions(-)
diff --git a/minipro_standard/common/config.js b/minipro_standard/common/config.js
index 062a83a..fced58f 100644
--- a/minipro_standard/common/config.js
+++ b/minipro_standard/common/config.js
@@ -1,8 +1,8 @@
module.exports = {
// baseUrl: 'http://106.14.20.42/test_hfznzz/',
// baseUrl: 'https://hefei.dtkey.cn/test_hfznzz/',
- // baseUrl: 'http://192.168.0.15:10021',
- baseUrl: 'https://dmtest.ahapp.net/doumeeplant_api',
+ baseUrl: 'http://192.168.0.15:10021',
+ // baseUrl: 'https://dmtest.ahapp.net/doumeeplant_api',
phoneRegular: /^1[3456789]\d{9}$/,
mailboxRegular: /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,
positiveInteger: /^[0-9]*[1-9][0-9]*$/,
diff --git a/minipro_standard/pages_adjust/components/Material.vue b/minipro_standard/pages_adjust/components/Material.vue
index 0685993..b0dd60e 100644
--- a/minipro_standard/pages_adjust/components/Material.vue
+++ b/minipro_standard/pages_adjust/components/Material.vue
@@ -5,25 +5,23 @@
</view>
<view class="content">
<view class="content_search">
- <u-search :showAction="false" placeholder="鎼滅储鐗╂枡鍚嶇О" v-model="keyword"></u-search>
+ <u-search :showAction="false" placeholder="鎼滅储鐗╂枡鍚嶇О" v-model="form.name" @search="searchInput"></u-search>
</view>
<div class="content_total">鍏眥{total}}鏉℃暟鎹�</div>
- <view class="content_list">
- <u-list @scrolltolower="scrolltolower">
- <u-list-item v-for="(item, index) in indexList" :key="index">
- <div class="content_list_item" @click="getVal(item)">
- <div class="content_list_item_name">
- <span>{{item.name}}</span>
- </div>
- </div>
- </u-list-item>
- </u-list>
- </view>
+ <scroll-view scroll-y class="content_list" @scrolltolower="loadmore">
+ <div class="content_list_item" v-for="(item, index) in list" :key="index" @click="getVal(item)">
+ <div class="content_list_item_name">
+ <span>{{item.mmodelUnionName}}</span>
+ </div>
+ </div>
+ </scroll-view>
</view>
</u-popup>
</template>
<script>
+ import { materialDistributeExt } from '@/util/api/ExWarehouse'
+
export default {
props: {
show: Boolean
@@ -32,25 +30,64 @@
return {
keyword: '',
total: 0,
- indexList: []
+ list: [],
+ loading: false,
+ finished: false,
+ refreshing: false,
+ form: {
+ capacity: 50,
+ page: 0,
+ total: 0,
+ name: ''
+ }
};
},
methods: {
+ searchInput() {
+ this.form.page = 0
+ this.finished = false
+ this.list = []
+ this.loadmore()
+ },
getVal(item) {
this.$emit('value', item)
},
open() {
- this.indexList = []
- this.loadmore()
- },
- scrolltolower() {
+ this.form.page = 0
+ this.finished = false
+ this.list = []
this.loadmore()
},
loadmore() {
- for (let i = 0; i < 20; i++) {
- this.indexList.push({
- id: i,
- name: `浠撳簱${i}`
+ if (!this.finished) {
+ this.loading = true;
+ this.form.page = this.form.page += 1
+ materialDistributeExt({
+ capacity: this.form.capacity,
+ page: this.form.page,
+ model: {
+ mmodelUnionName: this.form.name,
+ status: 1
+ }
+ }).then(res => {
+ if (this.refreshing) {
+ this.list = []
+ this.refreshing = false;
+ }
+ this.loading = false;
+ if (res.code === 200 && res.data.records && res.data.records.length !== 0) {
+ this.form.total = res.data.total
+ this.list.push(...res.data.records)
+ } else {
+ this.finished = true;
+ }
+ }).catch(err => {
+ this.loading = false;
+ this.finished = true;
+ if (this.refreshing) {
+ this.list = []
+ this.refreshing = false;
+ }
})
}
},
diff --git a/minipro_standard/pages_adjust/pages/addReceipt/addReceipt.vue b/minipro_standard/pages_adjust/pages/addReceipt/addReceipt.vue
index 3b9b607..08a5346 100644
--- a/minipro_standard/pages_adjust/pages/addReceipt/addReceipt.vue
+++ b/minipro_standard/pages_adjust/pages/addReceipt/addReceipt.vue
@@ -20,67 +20,66 @@
<view class="rework_qd_title">
<view class="rework_qd_title_left">
<view class="x"></view>
- <text>{{`鍏ュ簱鐗╂枡娓呭崟${list.length}`}}</text>
+ <text>鍏ュ簱鐗╂枡娓呭崟</text>
</view>
<view class="rework_qd_title_right" @click="addItem()">
<image src="@/static/gongdan_ic_shoudong@2x.png" mode="widthFix"></image>
<text>澧炲姞鍏ュ簱</text>
</view>
</view>
- <van-swipe-cell v-for="(item, index) in list" :key="index">
- <view class="rework_qd_list">
- <view class="rework_qd_item" @click="locationShow = true">
- <text><b>*</b>鍏ュ簱璐т綅</text>
- <view class="rework_qd_item_right">
- <text :class="item.locationName ? 'black' : ''">{{item.locationName ? item.locationName : '璇烽�夋嫨'}}</text>
- <u-icon name="arrow-right"></u-icon>
- </view>
- </view>
- <view class="rework_qd_item" @click="materialsShow = true">
- <text><b>*</b>鍏ュ簱鐗╂枡</text>
- <view class="rework_qd_item_right">
- <text :class="item.materialName ? 'black' : ''">{{item.materialName ? item.materialName : '璇烽�夋嫨'}}</text>
- <u-icon name="arrow-right"></u-icon>
- </view>
- </view>
- <template v-if="form.type !== 25">
- <view class="rework_qd_item" @click="productionShow = true">
- <text>鐢熶骇宸ュ簭</text>
+ <u-swipe-action :autoClose="true">
+ <u-swipe-action-item v-for="(item, index) in list" :key="index" @click="dele($event, index)" :options="item.options">
+ <view class="rework_qd_list">
+ <view class="rework_qd_item" @click="openL(index)">
+ <text><b>*</b>鍏ュ簱璐т綅</text>
<view class="rework_qd_item_right">
- <text :class="item.procedureName ? 'black' : ''">{{item.procedureName ? item.procedureName : '璇烽�夋嫨'}}</text>
+ <text :class="item.locationName ? 'black' : ''">{{item.locationName ? item.locationName : '璇烽�夋嫨'}}</text>
<u-icon name="arrow-right"></u-icon>
</view>
</view>
- </template>
- <view class="rework_qd_item" @click="qualityShow = true">
- <text><b>*</b>璐ㄩ噺灞炴��</text>
- <view class="rework_qd_item_right">
- <text :class="item.qualityTypeName ? 'black' : ''">{{item.qualityTypeName ? item.qualityTypeName : '璇烽�夋嫨'}}</text>
- <u-icon name="arrow-right"></u-icon>
+ <view class="rework_qd_item" @click="openMaterial(index)">
+ <text><b>*</b>鍏ュ簱鐗╂枡</text>
+ <view class="rework_qd_item_right">
+ <text :class="item.materialName ? 'black' : ''">{{item.materialName ? item.materialName : '璇烽�夋嫨'}}</text>
+ <u-icon name="arrow-right"></u-icon>
+ </view>
+ </view>
+ <template v-if="form.type !== 25">
+ <view class="rework_qd_item" @click="openGX(index)">
+ <text>鐢熶骇宸ュ簭</text>
+ <view class="rework_qd_item_right">
+ <text :class="item.procedureName ? 'black' : ''">{{item.procedureName ? item.procedureName : '璇烽�夋嫨'}}</text>
+ <u-icon name="arrow-right"></u-icon>
+ </view>
+ </view>
+ </template>
+ <view class="rework_qd_item" @click="openQ(index)">
+ <text><b>*</b>璐ㄩ噺灞炴��</text>
+ <view class="rework_qd_item_right">
+ <text :class="item.qualityTypeName ? 'black' : ''">{{item.qualityTypeName ? item.qualityTypeName : '璇烽�夋嫨'}}</text>
+ <u-icon name="arrow-right"></u-icon>
+ </view>
+ </view>
+ <view class="rework_qd_item">
+ <text>鎵规鍙�</text>
+ <view class="rework_qd_item_right">
+ <u--input placeholder="璇疯緭鍏�" inputAlign="right" :customStyle="{width: '230rpx'}" border="surround" v-model="item.batch"></u--input>
+ </view>
+ </view>
+ <view class="rework_qd_item">
+ <text><b>*</b>鍏ュ簱鏁伴噺<template v-if="item.unitName">({{ item.unitName }})</template></text>
+ <view class="rework_qd_item_right">
+ <u--input placeholder="0" inputAlign="right" :customStyle="{width: '230rpx'}" border="surround" v-model="item.num"></u--input>
+ </view>
</view>
</view>
- <view class="rework_qd_item">
- <text>鎵规鍙�</text>
- <view class="rework_qd_item_right">
- <u--input placeholder="璇疯緭鍏�" inputAlign="right" :customStyle="{width: '230rpx'}" border="surround" v-model="item.batch"></u--input>
- </view>
- </view>
- <view class="rework_qd_item">
- <text><b>*</b>鍏ュ簱鏁伴噺<template v-if="item.unitName">({{ item.unitName }})</template></text>
- <view class="rework_qd_item_right">
- <u--input placeholder="0" inputAlign="right" :customStyle="{width: '230rpx'}" border="surround" v-model="item.num"></u--input>
- </view>
- </view>
- </view>
- <template #right>
- <van-button style="height: 100%;" square type="danger" text="鍒犻櫎" @click="dele(index)" />
- </template>
- </van-swipe-cell>
+ </u-swipe-action-item>
+ </u-swipe-action>
</view>
<view class="rework_zw"></view>
<!-- 搴曢儴鎿嶄綔鎸夐挳 -->
<view class="rework_footer">
- <button class="rework_footer_submit">鎻愪氦</button>
+ <button class="rework_footer_submit" @click="onConfirm()">鎻愪氦</button>
</view>
<u-toast ref="uToast"></u-toast>
<!-- 浠撳簱 -->
@@ -90,7 +89,7 @@
<!-- 璐т綅 -->
<location :show="locationShow" :list="locationList" @close="close3" @value="getValue3" />
<!-- 宸ュ簭 -->
- <ProductionProcess :show="productionShow" :list="productionList" @close="close4" @value="getValue4" />
+ <ProductionProcess :show="productionShow" :list="productionList" @close="productionShow = false" @value="getValue4" />
<!-- 鍗曟嵁绫诲瀷 -->
<u-picker :show="typeShow" keyName="name" :columns="typeList" @confirm="confirm" @cancel="typeClose"></u-picker>
<!-- 璐ㄩ噺灞炴�� -->
@@ -103,6 +102,8 @@
import location from '../../components/location.vue'
import Material from '../../components/Material.vue'
import ProductionProcess from '../../components/ProductionProcess.vue'
+ import { getListByWarehouseId, wOutBoundForStockUp } from '@/util/api/WorkOrderAPI'
+ import { getListByMaterialId } from '@/util/api/ExWarehouse'
export default {
components: { Warehouse, location, Material, ProductionProcess },
data() {
@@ -138,7 +139,15 @@
qualityType: '',
qualityTypeName: '',
unitId: '',
- unitName: ''
+ unitName: '',
+ options: [
+ {
+ text: '鍒犻櫎',
+ style: {
+ backgroundColor: '#f56c6c'
+ }
+ }
+ ]
}
],
typeList: [[{name: '閲囪喘鍏ュ簱', id: 25}, {name: '搴撳瓨璋冩暣', id: 28}]],
@@ -151,17 +160,82 @@
};
},
methods: {
+ dele(e, index) {
+ if (this.list.length === 1) return uni.showToast({ title: '璇烽�夋嫨鍗曟嵁绫诲瀷', icon: 'none', duration: 2000 });
+ this.list.splice(index, 1)
+ },
+ // 閫夋嫨宸ュ簭
+ getValue4(item) {
+ this.list[this.i].procedureId = item.id
+ this.list[this.i].procedureName = item.name
+ this.productionShow = false
+ },
+ // 鎻愪氦
+ onConfirm() {
+ if (!this.form.type) return uni.showToast({ title: '璇烽�夋嫨鍗曟嵁绫诲瀷', icon: 'none', duration: 2000 });
+ if (!this.form.warehouseId) return uni.showToast({ title: '璇烽�夋嫨鍏ュ簱浠撳簱', icon: 'none', duration: 2000 });
+ if (this.list.length === 0) return uni.showToast({ title: '璇峰厛娣诲姞鍏ュ簱鐗╂枡', icon: 'none', duration: 2000 });
+ for (let i = 0; i < this.list.length; i++) {
+ if (!this.list[i].locationId) return uni.showToast({ title: `绗�${i+1}椤瑰叆搴撹揣浣嶄笉鑳戒负绌篳, icon: 'none', duration: 2000 });
+ if (!this.list[i].materialId) return uni.showToast({ title: `绗�${i+1}椤瑰叆搴撶墿鏂欎笉鑳戒负绌篳, icon: 'none', duration: 2000 });
+ if (!this.list[i].qualityType) return uni.showToast({ title: `绗�${i+1}椤硅川閲忓睘鎬т笉鑳戒负绌篳, icon: 'none', duration: 2000 });
+ if (this.list[i].num <= 0) {
+ return uni.showToast({ title: `绗�${i + 1}椤瑰叆搴撴暟閲忓繀椤诲ぇ浜�0`, icon: 'none', duration: 2000 });
+ }
+ }
+ wOutBoundForStockUp({
+ type: this.form.type,
+ planDate: this.getDay(),
+ validDate: this.getDay(),
+ warehouseId: this.form.warehouseId,
+ woutboundInBodyBeanList: this.list
+ }).then(res => {
+ if (res.code === 200) {
+ uni.showToast({ title: '鍏ュ簱鎴愬姛', icon: 'success', duration: 2000 });
+ setTimeout(() => {
+ uni.navigateBack({ delta: 1 });
+ }, 2000)
+ }
+ })
+ },
+ // 鑾峰彇褰撳ぉ骞存湀鏃�
+ getDay() {
+ var date = new Date();
+ var year = date.getFullYear();
+ var month = date.getMonth() + 1;
+ var day = date.getDate();
+ return `${year}-${month <= 9 ? `0${month}` : month}-${day <= 9 ? `0${day}` : day}`
+ },
+ // 鎵撳紑閫夋嫨鐗╂枡
+ openQ(index) {
+ if (this.list[index].locationIdLabel == 'APPLIANCE_ONTEST' || this.list[index].locationIdLabel == 'APPLIANCE_OFFTEST' || this.list[index].locationIdLabel == 'APPLIANCE_USELESS') {
+ return
+ }
+ this.i = index
+ this.qualityShow = true
+ },
+ // 鎵撳紑宸ュ簭
+ openGX(index) {
+ if (!this.list[index].materialId) return uni.showToast({ title: '璇峰厛閫夋嫨鍏ュ簱鐗╂枡', icon: 'none', duration: 2000 });
+ this.i = index
+ this.productionShow = true
+ },
+ // 鎵撳紑閫夋嫨璐т綅
+ openL(index) {
+ if (!this.form.warehouseId) return uni.showToast({ title: '璇烽�夋嫨鍏ュ簱浠撳簱', icon: 'none', duration: 2000 });
+ this.i = index
+ this.locationShow = true
+ },
+ // 鎵撳紑閫夋嫨鐗╂枡
+ openMaterial(index) {
+ this.i = index
+ this.materialsShow = true
+ },
// 璐ㄩ噺灞炴�х‘璁�
onConfirm1(value) {
- this.form.typeName = value.name
- this.form.type = value.id
- if (value.id == 25) {
- this.list.forEach(item => {
- item.procedureId = ''
- item.procedureName = ''
- })
- }
- this.typeShow = false
+ this.list[this.i].qualityType = value.value[0].id
+ this.list[this.i].qualityTypeName = value.value[0].name
+ this.qualityShow = false
},
// 閫夋嫨鐗╂枡
getValue1(item) {
@@ -175,12 +249,12 @@
materialId: item.id
}).then(res => {
if (res.code === 200) {
- productionList.value = res.data
+ this.productionList = res.data
this.list[this.i].procedureId = ''
this.list[this.i].procedureName = ''
}
})
- materialsShow.value = false
+ this.materialsShow = false
},
// 鍏抽棴浠撳簱閫夋嫨寮规
close1() {
@@ -213,12 +287,48 @@
confirm(val) {
this.form.type = val.value[0].id
this.form.typeName = val.value[0].name
+ if (val.value[0].id == 25) {
+ this.list.forEach(item => {
+ item.procedureId = ''
+ item.procedureName = ''
+ })
+ }
this.typeShow = false
},
// 浠撳簱纭
getValue(val) {
this.form.warehouseName = val.name
this.form.warehouseId = val.id
+ getListByWarehouseId({ wareHouseId: val.id })
+ .then(res => {
+ if (res.code === 200) {
+ this.locationList = res.data
+ if (res.data.length === 1) {
+ this.location = false
+ this.list.forEach(item => {
+ item.locationId = res.data[0].id
+ item.locationName = res.data[0].unionName
+ })
+ this.list[this.i].locationIdLabel = res.data[0].label
+ if (res.data[0].label === 'APPLIANCE_ONTEST') {
+ this.list[this.i].qualityType = '0'
+ this.list[this.i].qualityTypeName = '鍚堟牸'
+ } else if (res.data[0].label === 'APPLIANCE_OFFTEST') {
+ this.list[this.i].qualityType = '1'
+ this.list[this.i].qualityTypeName = '涓嶈壇'
+ } else if (res.data[0].label === 'APPLIANCE_USELESS') {
+ this.list[this.i].qualityType = '2'
+ this.list[this.i].qualityTypeName = '鎶ュ簾'
+ }
+ } else {
+ this.location = true
+ this.list.forEach(item => {
+ item.locationId = res.data[0].id
+ item.locationName = res.data[0].unionName
+ })
+ }
+ }
+ })
this.warehouseShow = false
},
typeClose() {
@@ -230,7 +340,7 @@
// 娣诲姞鏄庣粏
addItem() {
if (!this.form.warehouseId) return this.$refs.uToast.show({ type: 'default', message: "璇烽�夋嫨鍏ュ簱浠撳簱" })
- this.list.push({
+ this.list.unshift({
batch: '',
locationId: this.list[this.list.length - 1].locationId,
locationName: this.list[this.list.length - 1].locationName,
@@ -244,21 +354,25 @@
qualityType: this.list[this.list.length - 1].qualityType,
qualityTypeName: this.list[this.list.length - 1].qualityTypeName,
unitId: '',
- unitName: ''
+ unitName: '',
+ options: [
+ {
+ text: '鍒犻櫎',
+ style: {
+ backgroundColor: '#f56c6c'
+ }
+ }
+ ]
})
- },
- // 鍒犻櫎
- dele(index) {
- if (this.list.length === 1) {
- this.$refs.uToast.show({ type: 'default', message: "鑷冲皯淇濈暀涓�鏉$墿娴佹竻鍗曚俊鎭�" })
- return
- }
- this.list.splice(index, 1)
}
}
}
</script>
-
+<style>
+ .u-swipe-action-item__right {
+ z-index: 9;
+ }
+</style>
<style lang="scss" scoped>
.rework {
width: 100%;
diff --git a/minipro_standard/pages_adjust/pages/newOutbound/newOutbound.vue b/minipro_standard/pages_adjust/pages/newOutbound/newOutbound.vue
index 265dce2..7985b17 100644
--- a/minipro_standard/pages_adjust/pages/newOutbound/newOutbound.vue
+++ b/minipro_standard/pages_adjust/pages/newOutbound/newOutbound.vue
@@ -20,13 +20,8 @@
<view class="rework_qd_title">
<view class="rework_qd_title_left">
<view class="x"></view>
- <!-- ${list.length} -->
<text>{{`鍑哄簱鐗╂枡娓呭崟`}}</text>
</view>
- <!-- <view class="rework_qd_title_right" @click="openMs">
- <image src="@/static/gongdan_ic_shoudong@2x.png" mode="widthFix" />
- <text>澧炲姞鍑哄簱</text>
- </view> -->
</view>
<van-swipe-cell v-for="(item, index) in list" :key="index">
<view class="rework_qd_item">
@@ -60,7 +55,12 @@
<!-- 閫夋嫨浠撳簱 -->
<Warehouse :show="warehouseShow" @close="close" @value="getValue" />
<!-- 閫夋嫨鐗╂枡 -->
- <SelectMultipleMaterial ref="SelectMultipleMaterial" />
+ <SelectMultipleMaterial
+ ref="SelectMultipleMaterial"
+ :selected="list.map(item => item.id) || []"
+ :warehouseId="form.warehouseId.toString()"
+ :warehouseQualityType="form.warehouseQualityType"
+ @value="getValue1" />
<!-- 鍗曟嵁绫诲瀷 -->
<u-picker :show="typeShow" :columns="columns" @cancel="typeShow = false" @confirm="onConfirm1" keyName="name"></u-picker>
</view>
@@ -68,7 +68,8 @@
<script>
import Warehouse from '../../components/Warehouse.vue'
- import SelectMultipleMaterial from '@/components/SelectMultipleMaterial.vue'
+ import SelectMultipleMaterial from '../../components/multipleMaterial.vue'
+ import { createForStandard } from '@/util/api/WorkOrderAPI'
export default {
components: { Warehouse, SelectMultipleMaterial },
data() {
@@ -76,6 +77,7 @@
form: {
warehouseName: '',
warehouseId: '',
+ warehouseQualityType: '',
type: '',
typeName: ''
},
@@ -92,6 +94,13 @@
};
},
methods: {
+ // 閫夋嫨鐗╂枡
+ getValue1(item) {
+ item.forEach((row) => {
+ row.total = JSON.parse(JSON.stringify(row.num))
+ })
+ this.list = [...item, ...this.list]
+ },
changeNum(obj) {
if (obj.num < 0) {
obj.num = ''
@@ -105,7 +114,8 @@
// 閫夋嫨浠撳簱鍥炶皟
getValue(item) {
this.form.warehouseName = item.name
- this.form.warehouseId = item.id || 1
+ this.form.warehouseId = item.id
+ this.form.warehouseQualityType = item.tmodel.label
this.list = []
this.warehouseShow = false
},
@@ -162,7 +172,7 @@
woutBoundDetailBeans: this.list
}).then(res => {
if (res.code === 200) {
- uni.showToast({ title: '鍑哄簱鎴愬姛', icon: 'none', duration: 2000 });
+ uni.showToast({ title: '鍑哄簱鎴愬姛', icon: 'success', duration: 2000 });
setTimeout(() => {
uni.navigateBack({ delta: 1 });
}, 2000)
diff --git a/minipro_standard/util/api/ExWarehouse.js b/minipro_standard/util/api/ExWarehouse.js
index a99e79b..b861eb5 100644
--- a/minipro_standard/util/api/ExWarehouse.js
+++ b/minipro_standard/util/api/ExWarehouse.js
@@ -169,7 +169,7 @@
// 鐗╂枡鍒嗛厤淇℃伅鍒嗛〉鏌ヨ
export function materialDistributeExt (data) {
- return request.post('/ext/materialDistributeExt/page', data)
+ return http.post('/ext/materialDistributeExt/page', data)
}
// export function materialDistributeExt(data: any): Promise<any> {
// return httpRequest({
@@ -205,7 +205,7 @@
// 鏍规嵁杞簱鍗曟煡璇㈠簱瀛�
export function choiceStockPageByTransfer (data) {
- return request.post('/ext/wStockExt/choiceStockPageByTransfer', data)
+ return http.post('/ext/wStockExt/choiceStockPageByTransfer', data)
}
// export function choiceStockPageByTransfer(data: any): Promise<any> {
// return httpRequest({
@@ -217,7 +217,7 @@
// 杞簱鍑哄簱涓氬姟 - H5
export function transferToOutNew (data) {
- return request.post('/ext/wTransferExt/transferToOutNew', data)
+ return http.post('/ext/wTransferExt/transferToOutNew', data)
}
// export function transferToOutNew(data: any): Promise<any> {
// return httpRequest({
@@ -229,7 +229,7 @@
// 杞簱鍏ュ簱涓氬姟 - H5
export function transferToInNew (data) {
- return request.post('/ext/wTransferExt/transferToInNew', data)
+ return http.post('/ext/wTransferExt/transferToInNew', data)
}
// export function transferToInNew(data: any): Promise<any> {
// return httpRequest({
@@ -241,7 +241,7 @@
// 鏍规嵁渚涢渶璁″垝鏌ヨ鍙敤搴撳瓨
export function getStockByPlansForStandard (data) {
- return request.post('/ext/workorderRecordExt/getStockByPlansForStandard', data)
+ return http.post('/ext/workorderRecordExt/getStockByPlansForStandard', data)
}
// export function getStockByPlansForStandard(data: any): Promise<any> {
// return httpRequest({
--
Gitblit v1.9.3