|
@@ -3023,6 +3023,10 @@ export default {
|
|
type: Number,
|
|
type: Number,
|
|
required: null,
|
|
required: null,
|
|
},
|
|
},
|
|
|
|
+ copyStatus: {
|
|
|
|
+ type: Number,
|
|
|
|
+ required: null,
|
|
|
|
+ },
|
|
},
|
|
},
|
|
components: {
|
|
components: {
|
|
UploadFile,
|
|
UploadFile,
|
|
@@ -3452,28 +3456,32 @@ export default {
|
|
if (this.form.fStltypeid || this.form.fStltypeid == 0) {
|
|
if (this.form.fStltypeid || this.form.fStltypeid == 0) {
|
|
this.$set(this.form, "fStltypeid", this.form.fStltypeid.toString());
|
|
this.$set(this.form, "fStltypeid", this.form.fStltypeid.toString());
|
|
}
|
|
}
|
|
- this.detailList = response.data.warehouseBillsItem;
|
|
|
|
- response.data.warehousebillsfeesCr.map((e) => {
|
|
|
|
- if (e.fFeeunitid) {
|
|
|
|
- e.fFeeunitid = e.fFeeunitid.toString();
|
|
|
|
- }
|
|
|
|
- if (e.fStltypeid||e.fStltypeid==0) {
|
|
|
|
- e.fStltypeid = e.fStltypeid.toString();
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
- this.warehouseCrList = response.data.warehousebillsfeesCr;
|
|
|
|
- response.data.warehousebillsfeesDr.map((e) => {
|
|
|
|
- if (e.fFeeunitid) {
|
|
|
|
- e.fFeeunitid = e.fFeeunitid.toString();
|
|
|
|
- }
|
|
|
|
- if (e.fStltypeid||e.fStltypeid==0) {
|
|
|
|
- e.fStltypeid = e.fStltypeid.toString();
|
|
|
|
|
|
+ if (!this.copyStatus) {
|
|
|
|
+ this.detailList = response.data.warehouseBillsItem;
|
|
|
|
+ response.data.warehousebillsfeesCr.map((e) => {
|
|
|
|
+ if (e.fFeeunitid) {
|
|
|
|
+ e.fFeeunitid = e.fFeeunitid.toString();
|
|
|
|
+ }
|
|
|
|
+ if (e.fStltypeid || e.fStltypeid == 0) {
|
|
|
|
+ e.fStltypeid = e.fStltypeid.toString();
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ this.warehouseCrList = response.data.warehousebillsfeesCr;
|
|
|
|
+ response.data.warehousebillsfeesDr.map((e) => {
|
|
|
|
+ if (e.fFeeunitid) {
|
|
|
|
+ e.fFeeunitid = e.fFeeunitid.toString();
|
|
|
|
+ }
|
|
|
|
+ if (e.fStltypeid || e.fStltypeid == 0) {
|
|
|
|
+ e.fStltypeid = e.fStltypeid.toString();
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ this.warehouseDrList = response.data.warehousebillsfeesDr;
|
|
|
|
+ this.CntrTable = response.data.tCntrList;
|
|
|
|
+ if (response.data.enclosures) {
|
|
|
|
+ this.relevantAttachments = response.data.enclosures;
|
|
}
|
|
}
|
|
- });
|
|
|
|
- this.warehouseDrList = response.data.warehousebillsfeesDr;
|
|
|
|
- this.CntrTable = response.data.tCntrList;
|
|
|
|
- if (response.data.enclosures) {
|
|
|
|
- this.relevantAttachments = response.data.enclosures;
|
|
|
|
|
|
+ }else{
|
|
|
|
+ this.$set(this.form, "fMblno", null);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|