新增合同单号
This commit is contained in:
parent
367c1214b5
commit
3c6724b5f2
|
@ -29,6 +29,9 @@
|
||||||
<table-form-col label="加工商" prop-prefix="prodList" prop="workName" :rules="rules.workName" >
|
<table-form-col label="加工商" prop-prefix="prodList" prop="workName" :rules="rules.workName" >
|
||||||
<el-input slot-scope="d" v-if="d.row.workType === ProdWorkType.BUY" v-model="d.row.workName" placeholder="请输入加工商"/>
|
<el-input slot-scope="d" v-if="d.row.workType === ProdWorkType.BUY" v-model="d.row.workName" placeholder="请输入加工商"/>
|
||||||
</table-form-col>
|
</table-form-col>
|
||||||
|
<table-form-col label="合同单号" prop-prefix="prodList" prop="contractNo" :rules="rules.contractNo" >
|
||||||
|
<el-input slot-scope="d" v-model="d.row.contractNo" placeholder="请输入合同单号"/>
|
||||||
|
</table-form-col>
|
||||||
<table-form-col label="序号" prop-prefix="prodList" prop="no" :rules="rules.no" width="50" >
|
<table-form-col label="序号" prop-prefix="prodList" prop="no" :rules="rules.no" width="50" >
|
||||||
<el-input slot-scope="d" v-model="d.row.no" placeholder="请输入序号"/>
|
<el-input slot-scope="d" v-model="d.row.no" placeholder="请输入序号"/>
|
||||||
</table-form-col>
|
</table-form-col>
|
||||||
|
|
|
@ -139,7 +139,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
// 下载导入模板
|
// 下载导入模板
|
||||||
downloadTemplate() {
|
downloadTemplate() {
|
||||||
window.open('https://api.ccttiot.com/伟旺-生产订单导入模板-1740733089263.xlsx', '_blank');
|
window.open('https://api.ccttiot.com/伟旺-生产订单导入模板-1741308962476.xlsx', '_blank');
|
||||||
},
|
},
|
||||||
handleImportSuccess(data) {
|
handleImportSuccess(data) {
|
||||||
let head = data.head;
|
let head = data.head;
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12" class="stat-item">
|
<el-col :span="12" class="stat-item">
|
||||||
<div class="stat-label">未完成数</div>
|
<div class="stat-label">未完成数</div>
|
||||||
<div class="stat-value uncompleted">{{ detail.totalNum - detail.reportNum | dv }}</div>
|
<div class="stat-value uncompleted">{{ detail.totalNum - detail.reportNum - detail.num | dv }}</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -95,6 +95,7 @@ export default {
|
||||||
{key: 'picture', visible: true, label: '图片', minWidth: null, sortable: false, overflow: false, align: 'center', width: "80"},
|
{key: 'picture', visible: true, label: '图片', minWidth: null, sortable: false, overflow: false, align: 'center', width: "80"},
|
||||||
{key: 'name', visible: true, label: '产品名称', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
{key: 'name', visible: true, label: '产品名称', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
||||||
{key: 'workType', visible: true, label: '加工商', minWidth: null, sortable: true, overflow: false, align: 'center', width: "100"},
|
{key: 'workType', visible: true, label: '加工商', minWidth: null, sortable: true, overflow: false, align: 'center', width: "100"},
|
||||||
|
{key: 'contractNo', visible: true, label: '合同单号', minWidth: null, sortable: true, overflow: false, align: 'center', width: "100"},
|
||||||
{key: 'materialNo', visible: true, label: '物料编号', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
{key: 'materialNo', visible: true, label: '物料编号', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
||||||
{key: 'remark', visible: true, label: '备注', minWidth: null, sortable: true, overflow: true, align: 'center', width: null},
|
{key: 'remark', visible: true, label: '备注', minWidth: null, sortable: true, overflow: true, align: 'center', width: null},
|
||||||
{key: 'isEnd', visible: true, label: '成品', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
{key: 'isEnd', visible: true, label: '成品', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
||||||
|
|
|
@ -19,6 +19,14 @@
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="合同单号" prop="contractNo" v-if="isShow('contractNo')">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.contractNo"
|
||||||
|
placeholder="请输入合同单号"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="是否成品" prop="isEnd" v-if="isShow('isEnd')">
|
<el-form-item label="是否成品" prop="isEnd" v-if="isShow('isEnd')">
|
||||||
<el-radio-group v-model="queryParams.isEnd" @change="handleQuery">
|
<el-radio-group v-model="queryParams.isEnd" @change="handleQuery">
|
||||||
<el-radio :label="null">全部</el-radio>
|
<el-radio :label="null">全部</el-radio>
|
||||||
|
|
|
@ -128,7 +128,6 @@
|
||||||
:sum="sum"
|
:sum="sum"
|
||||||
@view="handleView"
|
@view="handleView"
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
@sort-change="onSortChange"
|
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user