更换正式环境,测试修改
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
</view>
|
||||
<view>
|
||||
<view> <text style="color: red;">*</text>单价 </view>
|
||||
<view> <input type="number" placeholder="请输入单价(元)" v-model="datas.form.bodyList.purchasePrice" @change="datas.form.bodyList.purchasePrice = $utils.isPrice(datas.form.bodyList.purchasePrice)" name="" id=""> </view>
|
||||
<view> <input type="number" placeholder="请输入单价(元)" v-model="datas.form.bodyList.purchasePrice" @change="datas.form.bodyList.purchasePrice = $utils.isMoney(datas.form.bodyList.purchasePrice)" name="" id=""> </view>
|
||||
</view>
|
||||
<view style="justify-content: space-between;">
|
||||
<view> 单位 </view>
|
||||
@@ -99,6 +99,8 @@
|
||||
// 单位列表
|
||||
datas.unitList = [ datas.form.conUnit, datas.form.conUnitTwo]
|
||||
datas.form.bodyList.unit = datas.form.defaultUnit
|
||||
datas.form.bodyList.conName = datas.form.conName
|
||||
datas.form.bodyList.unitName = datas.form.unitName
|
||||
})
|
||||
onShow(() => {
|
||||
getList()
|
||||
@@ -161,13 +163,7 @@
|
||||
})
|
||||
return
|
||||
}
|
||||
if (!datas.list[nowStatusIndex.value]) {
|
||||
refs.ctx.$refs.uToastRef.show({
|
||||
type: 'default',
|
||||
message: "供应商不能为空",
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
datas.form.bodyList.conId = datas.item.id
|
||||
datas.form.bodyList = [datas.form.bodyList]
|
||||
datas.form.inOutDate = dayjs(datas.form.inOutDate).format('YYYY-MM-DD')
|
||||
|
||||
Reference in New Issue
Block a user