RS2509
parent
86e5fda2ee
commit
0f05d5f6b4
|
|
@ -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("盘点确认成功")
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue