修改
This commit is contained in:
parent
7e91eac02d
commit
fe0105be15
@ -6,7 +6,7 @@ ENV = 'development'
|
||||
|
||||
# 泉医到家运营管理平台/开发环境
|
||||
# VUE_APP_BASE_API = '/dev-api'
|
||||
VUE_APP_BASE_API = 'http://192.168.16.30:8088'
|
||||
VUE_APP_BASE_API = 'http://192.168.16.49:8080'
|
||||
|
||||
# 路由懒加载
|
||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||
|
||||
@ -351,6 +351,7 @@
|
||||
v-model.number="scope.row.integralExchangeFlag"
|
||||
placeholder="请选择积分兑换标识"
|
||||
clearable
|
||||
@change="changeExchangeFlag(scope.row)"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in integraloption"
|
||||
|
||||
@ -85,7 +85,7 @@ export default {
|
||||
label: "是",
|
||||
},
|
||||
],
|
||||
value:"",
|
||||
value: "",
|
||||
// 查询参数
|
||||
shangjia: {
|
||||
id: null,
|
||||
@ -168,6 +168,12 @@ export default {
|
||||
// this.goodsCategoryinfo();
|
||||
},
|
||||
methods: {
|
||||
changeExchangeFlag(item) {
|
||||
if (item.integralExchangeFlag == 0) {
|
||||
item.integralExchangeCount = ''
|
||||
item.integralExchangeSill = ''
|
||||
}
|
||||
},
|
||||
imgs(item) {
|
||||
this.imgsurl.pictureUrlList.push(item);
|
||||
},
|
||||
@ -218,9 +224,9 @@ export default {
|
||||
attributePitureUrl: "",
|
||||
goodsPrice: "",
|
||||
goodsStock: "",
|
||||
integralExchangeCount:null,
|
||||
integralExchangeFlag:null,
|
||||
integralExchangeSill:null,
|
||||
integralExchangeCount: null,
|
||||
integralExchangeFlag: null,
|
||||
integralExchangeSill: null,
|
||||
attributeDetailsSort: null,
|
||||
idd: this.idd,
|
||||
};
|
||||
@ -265,9 +271,9 @@ export default {
|
||||
this.StationName = "请选择所属护理站";
|
||||
this.goodDetailsLists = [{
|
||||
attributeName: "",
|
||||
integralExchangeCount:null,
|
||||
integralExchangeFlag:null,
|
||||
integralExchangeSill:null,
|
||||
integralExchangeCount: null,
|
||||
integralExchangeFlag: null,
|
||||
integralExchangeSill: null,
|
||||
goodAttributeDetailsLists: [{
|
||||
attributePitureUrl: "",
|
||||
goodsPrice: "",
|
||||
@ -340,9 +346,9 @@ export default {
|
||||
goodsPrice: "",
|
||||
goodsStock: "",
|
||||
attributeDetailsSort: null,
|
||||
integralExchangeCount:null,
|
||||
integralExchangeFlag:null,
|
||||
integralExchangeSill:null,
|
||||
integralExchangeCount: null,
|
||||
integralExchangeFlag: null,
|
||||
integralExchangeSill: null,
|
||||
idd: 9999999,
|
||||
},];
|
||||
this.resetForm("form");
|
||||
@ -383,9 +389,9 @@ export default {
|
||||
attributePitureUrl: "",
|
||||
goodsPrice: "",
|
||||
goodsStock: "",
|
||||
integralExchangeCount:null,
|
||||
integralExchangeFlag:null,
|
||||
integralExchangeSill:null,
|
||||
integralExchangeCount: null,
|
||||
integralExchangeFlag: null,
|
||||
integralExchangeSill: null,
|
||||
sort: null,
|
||||
idd: 9999999,
|
||||
},];
|
||||
@ -420,17 +426,18 @@ export default {
|
||||
this.form.goodAttributeDetailsLists = [];
|
||||
this.form.goodDetailsLists = this.goodDetailsLists;
|
||||
console.log(this.form.goodDetailsLists)
|
||||
|
||||
if (!this.form.goodDetailsLists.integralExchangeFlag) {
|
||||
this.form.goodDetailsLists.integralExchangeFlag = null
|
||||
}
|
||||
if (this.form.goodDetailsLists.integralExchangeSill=="") {
|
||||
if (this.form.goodDetailsLists.integralExchangeSill == "") {
|
||||
this.form.goodDetailsLists.integralExchangeSill = null
|
||||
|
||||
}
|
||||
}
|
||||
if (this.form.goodDetailsLists.integralExchangeCount == "") {
|
||||
this.form.goodDetailsLists.integralExchangeCount = null
|
||||
}
|
||||
|
||||
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
if (this.form.goodsInfoId != null) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user