RS2509
jheng 2026-01-16 19:18:07 +08:00
parent 86e5fda2ee
commit 0f05d5f6b4
1 changed files with 25 additions and 21 deletions

View File

@ -56,6 +56,10 @@
<view class="flex-sub padding-0 margin-xs radius">盘点单据号</view>
<view class="flex-twice padding-0 margin-xs radius">{{item.invoiceCode}}</view>
</view>
<view class="flex">
<view class="flex-sub padding-0 margin-xs radius">盘点明细号</view>
<view class="flex-twice padding-0 margin-xs radius">{{item.itemCode}}</view>
</view>
<view class="flex">
<view class="flex-sub padding-0 margin-xs radius">托盘号</view>
<view class="flex-twice padding-0 margin-xs radius">{{item.palletCode}}</view>
@ -130,9 +134,9 @@
return {
//
formData: {
palletCode: "",//
palletCode: "", //
//actQty: "",//
details: []//
details: [] //
},
rules: {
palletCode: {
@ -156,8 +160,8 @@
},
//
billInfo: {
nowQty: 0,//
checkPltInfos: []//
nowQty: 0, //
checkPltInfos: [] //
},
//table
searchVal: '',
@ -170,7 +174,7 @@
total: 0,
loading: false,
//tabe
selectedIndexs:[],
selectedIndexs: [],
//
tableClumns: [{
dataIndex: "itemCode",
@ -327,12 +331,12 @@
formSubmit: function(ref) {
// formaData
var details = this.getSelectDetail()
if(details && details.length>0){
if (details && details.length > 0) {
this.$refs.form.validate().then(res => {
console.log("数据校验通过", res)
this.formData.details = details
inventoryConfirm(this.formData).then(response => {
console.log("response",response)
console.log("response", response)
this.$modal.msgSuccess("盘点确认成功")
})
})