采购部采购禁用
This commit is contained in:
@@ -133,10 +133,10 @@
|
||||
|
||||
<el-dialog :visible.sync="dialogFormVisible" title="转为滞货" center width="380px">
|
||||
<span>转为滞货数量:</span>
|
||||
<el-input-number :min="0" :max="maxNumber" v-model="number" controls-position="right"/>
|
||||
<el-input-number :min="1" :max="maxNumber" v-model="number" controls-position="right"/>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="dialogFormVisible=false">取消</el-button>
|
||||
<el-button :disabled="Number(number)===0" type="primary" @click="submitTurn()">确定</el-button>
|
||||
<el-button :disabled="turnToBacklogGoods_diaable" type="primary" @click="submitTurn()">确定</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
@@ -149,6 +149,7 @@ export default {
|
||||
name: 'BacklogGoodsAnalysis',
|
||||
data() {
|
||||
return {
|
||||
turnToBacklogGoods_diaable: false,
|
||||
materialName: '',
|
||||
materialSpec: '',
|
||||
materialModel: '',
|
||||
@@ -200,13 +201,15 @@ export default {
|
||||
},
|
||||
turnToBacklogGoods(row) {
|
||||
this.number = 0
|
||||
this.dialogFormVisible = true
|
||||
this.turnToBacklogGoods_diaable = false
|
||||
this.maxNumber = row.可转滞货数量
|
||||
this.materialNum = row.物料流水号
|
||||
this.materialLocalNum = row.物料与货位对照流水号
|
||||
this.localNum = row.货位流水号
|
||||
this.dialogFormVisible = true
|
||||
},
|
||||
submitTurn() {
|
||||
this.turnToBacklogGoods_diaable = true
|
||||
submitTurn(this.materialNum, this.number, this.materialLocalNum, this.localNum).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.searchTable1()
|
||||
|
||||
Reference in New Issue
Block a user