|
|
|
@ -60,7 +60,64 @@
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
|
<el-form-item label="产品价格:">
|
|
|
|
|
<el-input style="width: 90%" size="small" :disabled="true" splaceholder="请输入内容" type="number" step="0.01" v-model="editQuery.price"></el-input>
|
|
|
|
|
<el-input style="width: 90%" size="small" :disabled="true" splaceholder="请输入内容" type="number" step="0.01" v-model="editQuery.price"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable1">
|
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle1 ">
|
|
|
|
|
<el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak1"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable2">
|
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle2 ">
|
|
|
|
|
<el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak2"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable3">
|
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle3 ">
|
|
|
|
|
<el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak3"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable4">
|
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle4 ">
|
|
|
|
|
<el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak4"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<el-row >
|
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable5">
|
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle5 ">
|
|
|
|
|
<el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak5"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable6">
|
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle6 ">
|
|
|
|
|
<el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak6"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable7">
|
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle7 ">
|
|
|
|
|
<el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak7"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable8">
|
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle8">
|
|
|
|
|
<el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak8"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
@ -269,6 +326,7 @@
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
import { updateDiProduct } from '@/api/supplier/supProductsAddDi'
|
|
|
|
|
import { finProductSet } from '@/api/param/systemParamConfig'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "SelectDIDetailDialog",
|
|
|
|
@ -294,6 +352,7 @@ export default {
|
|
|
|
|
return {
|
|
|
|
|
activeNames: ['1'],
|
|
|
|
|
remark:"",
|
|
|
|
|
productRemarkSet:{}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
@ -316,11 +375,20 @@ export default {
|
|
|
|
|
this.$message.error(error.message)
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
findBasicProductSet() {
|
|
|
|
|
finProductSet().then((response) => {
|
|
|
|
|
if (response.code == 20000) {
|
|
|
|
|
this.productRemarkSet = response.data
|
|
|
|
|
} else {
|
|
|
|
|
//出错了
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
created() {
|
|
|
|
|
this.findBasicProductSet()
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|