|
@@ -64,7 +64,7 @@
|
|
|
v-for="item in warehouseNameList"
|
|
|
:key="item.constKey"
|
|
|
:label="item.warehouseName"
|
|
|
- :value="item.warehouseName"
|
|
|
+ :value="item.id"
|
|
|
/>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -505,7 +505,7 @@
|
|
|
v-for="item in warehouseNameList"
|
|
|
:key="item.constKey"
|
|
|
:label="item.warehouseName"
|
|
|
- :value="item.warehouseName"
|
|
|
+ :value="item.id"
|
|
|
/>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -710,14 +710,10 @@ import {
|
|
|
getwarehousename,
|
|
|
xialaNo,
|
|
|
addoreditoutput,
|
|
|
- outexamine,
|
|
|
getGoodsName,
|
|
|
} from '@/model/tasksport/index'
|
|
|
-import { packList } from '@/model/contarct/index'
|
|
|
import { pullDown, getstaff } from '@/model/warehouse/index'
|
|
|
-import { downloadFile } from '@/utils/batchDown'
|
|
|
import Pagination from '@/components/Pagination'
|
|
|
-import { mapActions, mapGetters, mapState } from 'vuex'
|
|
|
import WsUpload from '@/components/WsUpload'
|
|
|
// import { dayjs, fmoney, EventBus } from 'base-core-lib'
|
|
|
import { dayjs, EventBus } from 'base-core-lib'
|
|
@@ -855,20 +851,30 @@ export default {
|
|
|
var year = date.getFullYear() //获取完整的年份(4位)
|
|
|
var mouth = date.getMonth() + 1 //获取当前月份(0-11,0代表1月)
|
|
|
var datetime = date.getDate() //获取当前日(1-31)
|
|
|
+ var hour = date.getHours()
|
|
|
+ var minutes = date.getMinutes()
|
|
|
+ var seconds = date .getSeconds()
|
|
|
if (mouth < 10) {
|
|
|
mouth = '0' + mouth
|
|
|
}
|
|
|
if (datetime < 10) {
|
|
|
datetime = '0' + datetime
|
|
|
}
|
|
|
- return year + mouth + datetime
|
|
|
+ if (hour < 10) {
|
|
|
+ hour = '0' + hour
|
|
|
+ }
|
|
|
+ if (minutes < 10) {
|
|
|
+ minutes = '0' + minutes
|
|
|
+ }
|
|
|
+ if (seconds < 10) {
|
|
|
+ seconds = '0' + seconds
|
|
|
+ }
|
|
|
+ return year +''+ mouth + datetime + hour + minutes + seconds
|
|
|
},
|
|
|
// 随机验证码
|
|
|
verifyinit() {
|
|
|
var arr = []
|
|
|
- for (var i = 48; i < 123; i++) {
|
|
|
- if (i > 57 && i < 65) continue
|
|
|
- if (i > 90 && i < 97) continue
|
|
|
+ for (var i = 48; i < 57; i++) {
|
|
|
arr.push(String.fromCharCode(i))
|
|
|
}
|
|
|
arr.sort(function () {
|
|
@@ -959,7 +965,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
|
|
|
+ })
|
|
|
+ },
|
|
|
changecontract1(e) {
|
|
|
if (this.dataList1.taskTypeKey != 3) {
|
|
|
for (let i = 0; i < this.contractNoList.length; i++) {
|
|
@@ -1636,14 +1651,7 @@ export default {
|
|
|
})
|
|
|
})
|
|
|
|
|
|
- //经办人
|
|
|
- getstaff({ compId: sessionStorage.getItem('ws-pf_compId') })
|
|
|
- .toPromise()
|
|
|
- .then((response) => {
|
|
|
- this.options = response
|
|
|
- this.staffList = response
|
|
|
- // this.agent = response
|
|
|
- })
|
|
|
+
|
|
|
},
|
|
|
selecttaskType(e) {
|
|
|
for (var i = 0; i < this.taskTypeList.length; i++) {
|