|
@@ -114,9 +114,10 @@
|
|
|
:disabled="!form.id" @click.native="dialog = true; fudaSatus = 1">排产中</el-button>
|
|
|
<el-button v-if="form.productionScheduling" type="danger" size="small" :disabled="!form.id"
|
|
|
@click.native="cancel()">撤销排产</el-button>
|
|
|
- <el-button :type="form.estimateGoodGoods ? 'info' : 'success'" size="small" :disabled="!form.id"
|
|
|
+ <el-button :type="form.estimateGoodGoods ? 'info' : 'success'" size="small" :disabled="!form.id || form.orderStatus == '待采购'"
|
|
|
@click.native="dialog = true; fudaSatus = 2">预计货好</el-button>
|
|
|
- <el-button type="success" size="small" :disabled="!form.id || !form.estimateGoodGoods"
|
|
|
+ <!--|| !form.estimateGoodGoods 之前判断货备齐的是否禁用-->
|
|
|
+ <el-button type="success" size="small" :disabled="!form.id || form.orderStatus == '待采购'"
|
|
|
@click.native="dialog = true; fudaSatus = 3">货备齐</el-button>
|
|
|
<!-- <el-button-->
|
|
|
<!-- type="warning"-->
|
|
@@ -541,7 +542,6 @@ export default {
|
|
|
console.log(this.data);
|
|
|
this.form = this.detailData.form
|
|
|
|
|
|
-
|
|
|
console.log(this.detailData.form.orderItemsList,549)
|
|
|
|
|
|
this.data = this.detailData.form.orderItemsList
|