|
@@ -819,7 +819,7 @@
|
|
|
<el-button type="warning" prop="打印" @click="showEditDialog_s"
|
|
|
>入库单
|
|
|
</el-button>
|
|
|
- <!--
|
|
|
+ <!--
|
|
|
<el-button
|
|
|
:disabled="browseStatus"
|
|
|
type="primary"
|
|
@@ -4049,40 +4049,14 @@ export default {
|
|
|
"tEnclosure",
|
|
|
JSON.stringify(this.relevantAttachments)
|
|
|
);
|
|
|
- for (let li in this.dataListSelection) {
|
|
|
- this.dataListSelection[li].fBillstatus = 30;
|
|
|
- }
|
|
|
+ let dataSelection = JSON.parse(JSON.stringify(this.dataListSelection))
|
|
|
if (!this.form.fId) {
|
|
|
this.form.fId = this.fid;
|
|
|
}
|
|
|
disChargelist(formData).then((response) => {
|
|
|
- for (let li in this.dataListSelection) {
|
|
|
- for (let i in this.dataList) {
|
|
|
- let fQty =
|
|
|
- this.dataList[i].fQty === this.dataListSelection[li].fQty;
|
|
|
- let fBsdate =
|
|
|
- this.dataList[i].fBsdate ===
|
|
|
- this.dataListSelection[li].fBsdate;
|
|
|
- let fGoodsid =
|
|
|
- this.dataList[i].fGoodsid ===
|
|
|
- this.dataListSelection[li].fGoodsid;
|
|
|
- let fcntrtype =
|
|
|
- this.dataList[i].fcntrtype ===
|
|
|
- this.dataListSelection[li].fcntrtype;
|
|
|
- let fNetweight =
|
|
|
- this.dataList[i].fNetweight ===
|
|
|
- this.dataListSelection[li].fNetweight;
|
|
|
- let fGrossweight =
|
|
|
- this.dataList[i].fGrossweight ===
|
|
|
- this.dataListSelection[li].fGrossweight;
|
|
|
- if (
|
|
|
- fBsdate &&
|
|
|
- fGoodsid &&
|
|
|
- fcntrtype &&
|
|
|
- fGrossweight &&
|
|
|
- fNetweight &&
|
|
|
- fQty
|
|
|
- ) {
|
|
|
+ for (let dt in dataSelection) {
|
|
|
+ for (let li in this.dataList) {
|
|
|
+ if (this.dataList[li].fId === dataSelection.fId) {
|
|
|
this.$set(this.dataList[i], "fBillstatus", 30);
|
|
|
}
|
|
|
}
|