供应商编辑自定义字段

master
anthonywj 2 years ago
parent 01bb91e33a
commit 48421d57f5

@ -83,50 +83,94 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row type="flex" class="edit-row">
<el-col :span="12" v-if="productRemarkSet.remarkEnable1">
<!-- <el-row type="flex" class="edit-row">--> <el-form-item :label="productRemarkSet.remarkTitle1+':'">
<!-- <el-col :span="12">--> <el-input
<!-- <el-form-item label="库存积压预警数量:">--> style="width: 80%"
<!-- <el-input--> size="small"
<!-- style="width: 80%"--> splaceholder="请输入内容"
<!-- size="small"--> v-model="editQuery.basicPrductRemak1"
<!-- splaceholder="请输入内容"--> ></el-input>
<!-- v-model="editQuery.overStockNum"--> </el-form-item>
<!-- ></el-input>--> </el-col>
<!-- </el-form-item>--> <el-col :span="12" v-if="productRemarkSet.remarkEnable2">
<!-- </el-col>--> <el-form-item :label="productRemarkSet.remarkTitle2+':'">
<!-- <el-col :span="12">--> <el-input
<!-- <el-form-item label="低库存预警数量:">--> style="width: 80%"
<!-- <el-input--> size="small"
<!-- style="width: 80%"--> splaceholder="请输入内容"
<!-- size="small"--> v-model="editQuery.basicPrductRemak2"
<!-- splaceholder="请输入内容"--> ></el-input>
<!-- v-model="editQuery.lowStockNum"--> </el-form-item>
<!-- ></el-input>--> </el-col>
<!-- </el-form-item>--> </el-row>
<!-- </el-col>--> <el-row type="flex" class="edit-row">
<!-- </el-row>--> <el-col :span="12" v-if="productRemarkSet.remarkEnable3">
<!-- <el-row type="flex" class="edit-row">--> <el-form-item :label="productRemarkSet.remarkTitle3+':'">
<!-- <el-col :span="12">--> <el-input
<!-- <el-form-item label="近效期预警时间:">--> style="width: 80%"
<!-- <el-input--> size="small"
<!-- style="width: 80%"--> splaceholder="请输入内容"
<!-- size="small"--> v-model="editQuery.basicPrductRemak3"
<!-- splaceholder="请输入内容"--> ></el-input>
<!-- v-model="editQuery.recentDateTime"--> </el-form-item>
<!-- ></el-input>--> </el-col>
<!-- </el-form-item>--> <el-col :span="12" v-if="productRemarkSet.remarkEnable4">
<!-- </el-col>--> <el-form-item :label="productRemarkSet.remarkTitle4+':'">
<!-- <el-col :span="12">--> <el-input
<!-- <el-form-item label="预警时间单位:">--> style="width: 80%"
<!-- <el-select v-model="editQuery.isDateBy" style="width: 65%" placeholder="状态" clearable>--> size="small"
<!-- <el-option label="天" :value="1"></el-option>--> splaceholder="请输入内容"
<!-- <el-option label="小时" :value="2"></el-option>--> v-model="editQuery.basicPrductRemak4"
<!-- </el-select>--> ></el-input>
<!-- </el-form-item>--> </el-form-item>
<!-- </el-col>--> </el-col>
<!-- </el-row>--> </el-row>
<el-row type="flex" class="edit-row">
<el-col :span="12" v-if="productRemarkSet.remarkEnable5">
<el-form-item :label="productRemarkSet.remarkTitle5+':'">
<el-input
style="width: 80%"
size="small"
splaceholder="请输入内容"
v-model="editQuery.basicPrductRemak5"
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable6">
<el-form-item :label="productRemarkSet.remarkTitle6+':'">
<el-input
style="width: 80%"
size="small"
splaceholder="请输入内容"
v-model="editQuery.basicPrductRemak6"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex" class="edit-row">
<el-col :span="12" v-if="productRemarkSet.remarkEnable7">
<el-form-item :label="productRemarkSet.remarkTitle7+':'">
<el-input
style="width: 80%"
size="small"
splaceholder="请输入内容"
v-model="editQuery.basicPrductRemak7"
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable8">
<el-form-item :label="productRemarkSet.remarkTitle8+':'">
<el-input
style="width: 80%"
size="small"
splaceholder="请输入内容"
v-model="editQuery.basicPrductRemak8"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex" class="edit-row"> <el-row type="flex" class="edit-row">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="产品描述:"> <el-form-item label="产品描述:">
@ -251,9 +295,9 @@ export default {
lowStockNum: this.editQuery.lowStockNum, lowStockNum: this.editQuery.lowStockNum,
recentDateTime: this.editQuery.recentDateTime, recentDateTime: this.editQuery.recentDateTime,
isDateBy: this.editQuery.isDateBy, isDateBy: this.editQuery.isDateBy,
relSupId:this.editQuery.id, relSupId: this.editQuery.id,
groupBuy:this.editQuery.groupBuy, groupBuy: this.editQuery.groupBuy,
uid:this.editQuery.uid, uid: this.editQuery.uid,
} }
updateById(data).then(res => { updateById(data).then(res => {

Loading…
Cancel
Save