|
|
@ -48,10 +48,7 @@ |
|
|
<el-row> |
|
|
<el-row> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item :label="$t('form.qmyy')" prop="qmyy"> |
|
|
<el-form-item :label="$t('form.qmyy')" prop="qmyy"> |
|
|
<el-select v-model="form.qmyy" :placeholder="$t('form.placeholderSelect')" > |
|
|
|
|
|
<el-option label="同意修改库存" :value="10" /> |
|
|
|
|
|
<el-option label="拒绝修改库存" :value="1" /> |
|
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
|
<el-input type="text" :value="form.qmyyMc" maxlength="50" disabled /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
@ -79,8 +76,8 @@ |
|
|
</el-row> |
|
|
</el-row> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div slot="footer" class="dialog-footer"> |
|
|
<div slot="footer" class="dialog-footer"> |
|
|
<el-button type="primary" @click="save">{{ $t('form.confirm') }}</el-button> |
|
|
|
|
|
<el-button @click="cancel">{{ $t('form.cancel') }}</el-button> |
|
|
|
|
|
|
|
|
<el-button type="danger" @click="save(1)">{{ $t('form.reject') }}</el-button> |
|
|
|
|
|
<el-button type="primary" @click="save(10)">{{ $t('form.approve') }}</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
</div> |
|
|
</div> |
|
|
@ -143,7 +140,8 @@ export default { |
|
|
qmrmm: null, |
|
|
qmrmm: null, |
|
|
kcbjrMc: null, |
|
|
kcbjrMc: null, |
|
|
kcbjbz: null, |
|
|
kcbjbz: null, |
|
|
qmyy: 10, |
|
|
|
|
|
|
|
|
qmyy: null, |
|
|
|
|
|
qmyyMc: this.$t('page.business.resource.gsp.tyjjxgkc'), |
|
|
remark: '' |
|
|
remark: '' |
|
|
} |
|
|
} |
|
|
this.resetForm("form") |
|
|
this.resetForm("form") |
|
|
@ -165,12 +163,17 @@ export default { |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
save() { |
|
|
|
|
|
|
|
|
save(qmyy) { |
|
|
this.$refs["form"].validate(valid => { |
|
|
this.$refs["form"].validate(valid => { |
|
|
if (valid) { |
|
|
if (valid) { |
|
|
|
|
|
this.$modal.loading() |
|
|
|
|
|
this.form.qmyy=qmyy |
|
|
shxgkc(this.form).then(response => { |
|
|
shxgkc(this.form).then(response => { |
|
|
this.open = false |
|
|
this.open = false |
|
|
this.$emit('callback') |
|
|
this.$emit('callback') |
|
|
|
|
|
this.$modal.closeLoading() |
|
|
|
|
|
}).finally(() => { |
|
|
|
|
|
this.$modal.closeLoading() |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
|