|
@@ -60,7 +60,7 @@
|
|
v-for="item in warehouseNameList"
|
|
v-for="item in warehouseNameList"
|
|
:key="item.constKey"
|
|
:key="item.constKey"
|
|
:label="item.warehouseName"
|
|
:label="item.warehouseName"
|
|
- :value="item.warehouseName"
|
|
|
|
|
|
+ :value="item.id"
|
|
/>
|
|
/>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -471,7 +471,7 @@
|
|
v-for="item in warehouseNameList"
|
|
v-for="item in warehouseNameList"
|
|
:key="item.constKey"
|
|
:key="item.constKey"
|
|
:label="item.warehouseName"
|
|
:label="item.warehouseName"
|
|
- :value="item.warehouseName"
|
|
|
|
|
|
+ :value="item.id"
|
|
/>
|
|
/>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -668,11 +668,10 @@ import {
|
|
outexamine,
|
|
outexamine,
|
|
getGoodsName
|
|
getGoodsName
|
|
} from '@/model/tasksport/index'
|
|
} from '@/model/tasksport/index'
|
|
-import { packList } from '@/model/contarct/index'
|
|
|
|
import { pullDown, getstaff } from '@/model/warehouse/index'
|
|
import { pullDown, getstaff } from '@/model/warehouse/index'
|
|
import { downloadFile } from '@/utils/batchDown'
|
|
import { downloadFile } from '@/utils/batchDown'
|
|
import Pagination from '@/components/Pagination'
|
|
import Pagination from '@/components/Pagination'
|
|
-import { mapActions, mapGetters, mapState } from 'vuex'
|
|
|
|
|
|
+import { mapGetters } from 'vuex'
|
|
import WsUpload from '@/components/WsUpload'
|
|
import WsUpload from '@/components/WsUpload'
|
|
// import { dayjs, fmoney, EventBus } from 'base-core-lib'
|
|
// import { dayjs, fmoney, EventBus } from 'base-core-lib'
|
|
import { dayjs, EventBus } from 'base-core-lib'
|
|
import { dayjs, EventBus } from 'base-core-lib'
|
|
@@ -950,7 +949,16 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- selectwarehouseName() {},
|
|
|
|
|
|
+ selectwarehouseName(e) {
|
|
|
|
+ //经办人
|
|
|
|
+ getstaff({ compId: sessionStorage.getItem('ws-pf_compId') ,warehouseId:e})
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.options = response
|
|
|
|
+ this.staffList = response
|
|
|
|
+ // this.agent = response
|
|
|
|
+ })
|
|
|
|
+ },
|
|
tarechange(e) {
|
|
tarechange(e) {
|
|
if (this.dataList.grossWeight && this.dataList.tare) {
|
|
if (this.dataList.grossWeight && this.dataList.tare) {
|
|
this.dataList.netWeight = Number(
|
|
this.dataList.netWeight = Number(
|
|
@@ -1086,11 +1094,11 @@ export default {
|
|
if (response.length > 1) {
|
|
if (response.length > 1) {
|
|
this.dataList = response[0]
|
|
this.dataList = response[0]
|
|
this.dataList1 = response[1]
|
|
this.dataList1 = response[1]
|
|
- console.log(this.dataList1.inOutTaskNo,"入库任务")
|
|
|
|
|
|
+ console.log(this.dataList1.inOutTaskNo,'入库任务')
|
|
} else {
|
|
} else {
|
|
if(response[0].taskTypeKey==3){
|
|
if(response[0].taskTypeKey==3){
|
|
this.deletetask=true
|
|
this.deletetask=true
|
|
- this.dataList1.inOutTaskNo='YKR'+response[0].inOutTaskNo.substr(response[0].inOutTaskNo.indexOf("C") + 1,response[0].inOutTaskNo.length)
|
|
|
|
|
|
+ this.dataList1.inOutTaskNo='YKR'+response[0].inOutTaskNo.substr(response[0].inOutTaskNo.indexOf('C') + 1,response[0].inOutTaskNo.length)
|
|
}
|
|
}
|
|
if(response[0].taskTypeKey==2){
|
|
if(response[0].taskTypeKey==2){
|
|
this.dataList1 = response[0]
|
|
this.dataList1 = response[0]
|
|
@@ -1171,14 +1179,6 @@ export default {
|
|
.then((response) => {
|
|
.then((response) => {
|
|
this.warehouseNameList1 = response
|
|
this.warehouseNameList1 = response
|
|
})
|
|
})
|
|
- //经办人
|
|
|
|
- getstaff({ compId: sessionStorage.getItem('ws-pf_compId') })
|
|
|
|
- .toPromise()
|
|
|
|
- .then((response) => {
|
|
|
|
- this.options = response
|
|
|
|
- this.staffList = response
|
|
|
|
- // this.agent = response
|
|
|
|
- })
|
|
|
|
},
|
|
},
|
|
selecttaskType(e) {
|
|
selecttaskType(e) {
|
|
for (var i = 0; i < this.taskTypeList.length; i++) {
|
|
for (var i = 0; i < this.taskTypeList.length; i++) {
|