|
@@ -237,8 +237,8 @@
|
|
|
<!--操作按钮区域 参照装箱单 増行-->
|
|
|
<a-card :bordered="true" style="margin:10px 0 40px 0;">
|
|
|
<div class="table-operator">
|
|
|
- <a-button type="primary" @click="referPackingList('0')" icon="ordered-list">参照装箱单-成衣</a-button>
|
|
|
- <a-button type="primary" @click="referPackingList('1')" icon="ordered-list">参照装箱单-面料</a-button>
|
|
|
+ <a-button type="primary" @click="referPackingList('0')" icon="ordered-list" :disabled="defaultMethod=='edit'&&syStuta=='1'">参照装箱单-成衣</a-button>
|
|
|
+ <a-button type="primary" @click="referPackingList('1')" icon="ordered-list" :disabled="defaultMethod=='edit'&&syStuta=='1'">参照装箱单-面料</a-button>
|
|
|
<a-button type="primary" @click="syShippingOrderMerge" :disabled="query=='1'" icon="plus" style="margin-left: 20px">合并</a-button>
|
|
|
</div>
|
|
|
|
|
@@ -275,8 +275,9 @@
|
|
|
|
|
|
<!-- 操作 -->
|
|
|
<span slot="operationSlot" slot-scope="text, record,index">
|
|
|
- <a-popconfirm title="确定删除吗?" ok-text="是" cancel-text="否" @confirm="handleDelete(index)">
|
|
|
- <a href="javascript:void(0);" style="color:red;">删除</a>
|
|
|
+ <a-popconfirm title="确定删除吗?" ok-text="是" cancel-text="否" @confirm="handleDelete(index)" :disabled="defaultMethod=='edit'&&syStuta=='1'">
|
|
|
+ <a href="javascript:void(0);" style="color:red;" v-if="!(defaultMethod=='edit'&&syStuta=='1')">删除</a>
|
|
|
+ <a href="javascript:void(0);" style="color:gray;" v-if="(defaultMethod=='edit'&&syStuta=='1')">删除</a>
|
|
|
</a-popconfirm>
|
|
|
</span>
|
|
|
</a-table>
|
|
@@ -693,6 +694,7 @@ export default {
|
|
|
defaultMethod : 'add',
|
|
|
confirmLoading: false,
|
|
|
visible: false,
|
|
|
+ syStuta:'',
|
|
|
dateFormat: 'YYYY-MM-DD',
|
|
|
allMount:0,
|
|
|
allGross:0,
|
|
@@ -1295,6 +1297,7 @@ export default {
|
|
|
this.FreightOption=[]
|
|
|
this.visible = false
|
|
|
this.defaultMethod = 'add'
|
|
|
+ this.syStuta = ''
|
|
|
this.resumeColumns()
|
|
|
this.$refs.form.resetFields()
|
|
|
},
|