|
@@ -535,6 +535,8 @@ export default {
|
|
// this.dataList.outputCity = CodeToText[value[1]]
|
|
// this.dataList.outputCity = CodeToText[value[1]]
|
|
},
|
|
},
|
|
sendWarehousechange(e) {
|
|
sendWarehousechange(e) {
|
|
|
|
+ console.log("sendWarehousechange",e)
|
|
|
|
+
|
|
for (let i = 0; i < this.warehouseList.length; i++) {
|
|
for (let i = 0; i < this.warehouseList.length; i++) {
|
|
if (this.warehouseList[i].warehouseName == e) {
|
|
if (this.warehouseList[i].warehouseName == e) {
|
|
var tmp = []
|
|
var tmp = []
|
|
@@ -548,7 +550,8 @@ export default {
|
|
this.warehouseList[i].warehouseCity
|
|
this.warehouseList[i].warehouseCity
|
|
][this.warehouseList[i].warehouseArea].code
|
|
][this.warehouseList[i].warehouseArea].code
|
|
this.selectedOptions = tmp
|
|
this.selectedOptions = tmp
|
|
- this.dataList.warehouseId = this.warehouseList[i].id
|
|
|
|
|
|
+ console.log("sendWarehousechange",this.warehouseList[i])
|
|
|
|
+ this.dataList.receiveWarehouseId = this.warehouseList[i].id
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -864,6 +867,7 @@ export default {
|
|
.then(() => {
|
|
.then(() => {
|
|
this.$refs.dataList.validate(valid => {
|
|
this.$refs.dataList.validate(valid => {
|
|
if (valid) {
|
|
if (valid) {
|
|
|
|
+ console.log(this.dataList)
|
|
this.dataList.procurementPlanNo='CGJH'+this.getdate()+this.verifyinit()
|
|
this.dataList.procurementPlanNo='CGJH'+this.getdate()+this.verifyinit()
|
|
this.dataList.sourceProvince = CodeToText[this.selectedOptions[0]]
|
|
this.dataList.sourceProvince = CodeToText[this.selectedOptions[0]]
|
|
this.dataList.sourceCity = CodeToText[this.selectedOptions[1]]
|
|
this.dataList.sourceCity = CodeToText[this.selectedOptions[1]]
|