|
@@ -1368,7 +1368,7 @@
|
|
"
|
|
"
|
|
@click.native.prevent="wDeleteRow(scope.$index, dataList)"
|
|
@click.native.prevent="wDeleteRow(scope.$index, dataList)"
|
|
size="small"
|
|
size="small"
|
|
- >移1除</el-button
|
|
|
|
|
|
+ >移除</el-button
|
|
>
|
|
>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -3360,6 +3360,13 @@ export default {
|
|
},
|
|
},
|
|
showEditDialog_sss() {
|
|
showEditDialog_sss() {
|
|
if (this.Printinglist.length > 0) {
|
|
if (this.Printinglist.length > 0) {
|
|
|
|
+ // if (!this.form.fId) {
|
|
|
|
+ // this.form.fId = this.fid
|
|
|
|
+ // }
|
|
|
|
+ if (!this.form.fBusinessType) {
|
|
|
|
+ this.$message.error('请选择货物属性!')
|
|
|
|
+ return false
|
|
|
|
+ }
|
|
for (let li in this.Printinglist) {
|
|
for (let li in this.Printinglist) {
|
|
if (!this.Printinglist[li].fBsdate) {
|
|
if (!this.Printinglist[li].fBsdate) {
|
|
this.$message.error('请选择入库日期')
|
|
this.$message.error('请选择入库日期')
|
|
@@ -4108,6 +4115,20 @@ export default {
|
|
// 入账
|
|
// 入账
|
|
creditClick() {
|
|
creditClick() {
|
|
this.$refs['form'].validate((valid) => {
|
|
this.$refs['form'].validate((valid) => {
|
|
|
|
+ for (let warehouseCr in this.Printinglist) {
|
|
|
|
+ if (!this.Printinglist[warehouseCr].fQty || this.Printinglist[warehouseCr].fQty === 0) {
|
|
|
|
+ this.$message.error("请维护入库件数");
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (!this.Printinglist[warehouseCr].fNetweight || this.Printinglist[warehouseCr].fNetweight === 0) {
|
|
|
|
+ this.$message.error("请维护入库净重");
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (!this.Printinglist[warehouseCr].fGrossweight || this.Printinglist[warehouseCr].fGrossweight === 0) {
|
|
|
|
+ this.$message.error("请维护入库毛重");
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
for (let warehouseCr in this.dataListSelection) {
|
|
for (let warehouseCr in this.dataListSelection) {
|
|
if (this.dataListSelection[warehouseCr].fBillstatus === 20) {
|
|
if (this.dataListSelection[warehouseCr].fBillstatus === 20) {
|
|
this.$message.error('请先卸货')
|
|
this.$message.error('请先卸货')
|
|
@@ -4249,18 +4270,18 @@ export default {
|
|
this.$message.error("请勿重复卸货");
|
|
this.$message.error("请勿重复卸货");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- if (!this.Printinglist[warehouseCr].fQty || this.Printinglist[warehouseCr].fQty === 0) {
|
|
|
|
- this.$message.error("请维护入库件数");
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
- if (!this.Printinglist[warehouseCr].fNetweight || this.Printinglist[warehouseCr].fNetweight === 0) {
|
|
|
|
- this.$message.error("请维护入库净重");
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
- if (!this.Printinglist[warehouseCr].fGrossweight || this.Printinglist[warehouseCr].fGrossweight === 0) {
|
|
|
|
- this.$message.error("请维护入库毛重");
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
|
|
+ // if (!this.Printinglist[warehouseCr].fQty || this.Printinglist[warehouseCr].fQty === 0) {
|
|
|
|
+ // this.$message.error("请维护入库件数");
|
|
|
|
+ // return false;
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.Printinglist[warehouseCr].fNetweight || this.Printinglist[warehouseCr].fNetweight === 0) {
|
|
|
|
+ // this.$message.error("请维护入库净重");
|
|
|
|
+ // return false;
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.Printinglist[warehouseCr].fGrossweight || this.Printinglist[warehouseCr].fGrossweight === 0) {
|
|
|
|
+ // this.$message.error("请维护入库毛重");
|
|
|
|
+ // return false;
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
this.$refs["form"].validate((valid) => {
|
|
this.$refs["form"].validate((valid) => {
|
|
if (valid) {
|
|
if (valid) {
|
|
@@ -4323,13 +4344,13 @@ export default {
|
|
this.form.fPlanvolumn = this.fPlanvolumn
|
|
this.form.fPlanvolumn = this.fPlanvolumn
|
|
this.form.fGrossweight = this.fGrossweight
|
|
this.form.fGrossweight = this.fGrossweight
|
|
this.form.fQty = this.fQty
|
|
this.form.fQty = this.fQty
|
|
- if (!this.form.fId) {
|
|
|
|
- this.form.fId = this.fid
|
|
|
|
- }
|
|
|
|
- if (!this.form.fBusinessType) {
|
|
|
|
- this.$message.error('请选择货物属性!')
|
|
|
|
- return false
|
|
|
|
- }
|
|
|
|
|
|
+ // if (!this.form.fId) {
|
|
|
|
+ // this.form.fId = this.fid
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.form.fBusinessType) {
|
|
|
|
+ // this.$message.error('请选择货物属性!')
|
|
|
|
+ // return false
|
|
|
|
+ // }
|
|
for (let list in this.dataList) {
|
|
for (let list in this.dataList) {
|
|
if (!this.dataList[list].fBusinessType) {
|
|
if (!this.dataList[list].fBusinessType) {
|
|
this.$message.error('请输入库存明细的货物属性!')
|
|
this.$message.error('请输入库存明细的货物属性!')
|