|
@@ -3,12 +3,18 @@
|
|
|
<el-button type="primary" size="small" :disabled="data.length !== 1" @click="onShow">明细变更</el-button>
|
|
|
<el-dialog title="明细变更" append-to-body :visible.sync="dialogVisible" width="400px">
|
|
|
<el-form :model="form" size="small">
|
|
|
+ <el-form-item label="产品" :label-width="formLabelWidth">
|
|
|
+ <el-input v-model="form.itemno" disabled autocomplete="off"></el-input>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="产品" :label-width="formLabelWidth">
|
|
|
<el-input v-model="form.itemname" disabled autocomplete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="数量变更" :label-width="formLabelWidth">
|
|
|
<el-input v-model="form.qty" autocomplete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="变更备注" :label-width="formLabelWidth">
|
|
|
+ <el-input v-model="form.remarks" autocomplete="off"></el-input>
|
|
|
+ </el-form-item>
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button @click="dialogVisible = false" size="small">取 消</el-button>
|
|
@@ -46,7 +52,7 @@ export default {
|
|
|
"itemid":this.form.itemid,//商品ID
|
|
|
"type":"数量",//调整类型,目前只支持数量
|
|
|
"newvalue":this.form.qty,//调整后值
|
|
|
- "remarks":""
|
|
|
+ "remarks":this.form.remarks
|
|
|
}
|
|
|
})
|
|
|
this.tool.showMessage(res,()=>{
|