|
@@ -2090,6 +2090,8 @@ export default {
|
|
|
fixdetaiNum: null,
|
|
|
dataListSelection: [],
|
|
|
dataWithdrawList: [],
|
|
|
+ title: "",
|
|
|
+ fWarehouselocid: null,
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -2163,6 +2165,7 @@ export default {
|
|
|
fGoodsid: null,
|
|
|
fBusinessType: null,
|
|
|
fMarks: null,
|
|
|
+ fWarehouselocid: null,
|
|
|
fWarehouseInformation: null,
|
|
|
fCntrtype: null,
|
|
|
fCntqty: null,
|
|
@@ -2175,7 +2178,6 @@ export default {
|
|
|
fCntrno: null,
|
|
|
fGoodsval: null,
|
|
|
remark: null,
|
|
|
- title:""
|
|
|
};
|
|
|
},
|
|
|
discharge() {
|
|
@@ -2297,11 +2299,10 @@ export default {
|
|
|
);
|
|
|
formData.append("tEnclosure", JSON.stringify(this.relevantAttachments));
|
|
|
updateCredit(formData).then((response) => {
|
|
|
- this.detailList.map((e, index) => {
|
|
|
- response.data.warehousebillsitems.map((item) => {
|
|
|
+ this.Printinglist.map((e) => {
|
|
|
+ this.detailList.map((item, index) => {
|
|
|
if (e.fId == item.fId) {
|
|
|
- e = item;
|
|
|
- this.$set(this.detailList, index, e);
|
|
|
+ this.$set(this.detailList[index], "fBillstatus", 10);
|
|
|
}
|
|
|
});
|
|
|
});
|
|
@@ -2425,6 +2426,14 @@ export default {
|
|
|
this.$refs["importList"].validate((valid) => {
|
|
|
if (valid) {
|
|
|
let obj = {};
|
|
|
+ this.fWarehouselocid = null;
|
|
|
+ this.fWarehouseidOptions.map((e) => {
|
|
|
+ if (
|
|
|
+ e.fWarehouseInformation == this.importList.fWarehouseInformation
|
|
|
+ ) {
|
|
|
+ this.fWarehouselocid = e.id;
|
|
|
+ }
|
|
|
+ });
|
|
|
this.detailList.push({
|
|
|
fBillstatus: 10,
|
|
|
fMblno: this.form.fMblno,
|
|
@@ -2435,6 +2444,7 @@ export default {
|
|
|
fGoodsid: this.importList.fGoodsid,
|
|
|
fBusinessType: this.importList.fBusinessType,
|
|
|
fMarks: this.importList.fMarks,
|
|
|
+ fWarehouselocid: this.fWarehouselocid,
|
|
|
fWarehouseInformation: this.importList.fWarehouseInformation,
|
|
|
fCntrtype: this.importList.fCntrtype,
|
|
|
fCntqty: this.importList.fCntqty,
|
|
@@ -2540,7 +2550,7 @@ export default {
|
|
|
addRelevant() {
|
|
|
this.$refs["form"].validate((valid) => {
|
|
|
if (valid) {
|
|
|
- this.title="新增"
|
|
|
+ this.title = "新增";
|
|
|
this.reset();
|
|
|
this.fixdetaiNum = null;
|
|
|
if (
|
|
@@ -2674,9 +2684,9 @@ export default {
|
|
|
this.CntrTable.push(obj);
|
|
|
},
|
|
|
fixRow(row, index) {
|
|
|
- this.title="修改"
|
|
|
+ this.title = "修改";
|
|
|
this.reset();
|
|
|
- this.fixdetaiNum=null;
|
|
|
+ this.fixdetaiNum = null;
|
|
|
this.fixdetaiNum = index;
|
|
|
row.fBsdate = new Date(row.fBsdate).getTime();
|
|
|
this.importList = row;
|