其他物料选择

master
zhangdi 10 months ago
parent 108d8a92c5
commit dc62a946cb
  1. 10
      src/views/components/workOrderDetail.vue

@ -164,21 +164,21 @@
<!-- 1878677914447265793 其他物料 --> <!-- 1878677914447265793 其他物料 -->
<el-table-column prop="inventoryId" label="库存ID" align="center" width="120"> <el-table-column prop="inventoryId" label="库存ID" align="center" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-if="scope.row.productId == '1878677914447265793'" @change="clickInventoryId" <el-input v-if="scope.row.productName == '其他'" @change="clickInventoryId"
placeholder="请输入库存ID" v-model="scope.row.inventoryId" size="mini"></el-input> placeholder="请输入库存ID" v-model="scope.row.inventoryId" size="mini"></el-input>
<span v-else>{{ scope.row.inventoryId }}</span> <span v-else>{{ scope.row.inventoryId }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="rule" align="center" label="规格" width="120"> <el-table-column prop="rule" align="center" label="规格" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-if="scope.row.productId == '1878677914447265793'" v-model="scope.row.rule" <el-input v-if="scope.row.productName == '其他'" v-model="scope.row.rule"
placeholder="请输入规格" style="width:98%;" size="mini"></el-input> placeholder="请输入规格" style="width:98%;" size="mini"></el-input>
<span v-else>{{ scope.row.rule }}</span> <span v-else>{{ scope.row.rule }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="xh" align="center" label="型号" width="120"> <el-table-column prop="xh" align="center" label="型号" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-if="scope.row.productId == '1878677914447265793'" v-model="scope.row.model" <el-input v-if="scope.row.productName == '其他'" v-model="scope.row.model"
placeholder="请输入型号" style="width:98%;" size="mini"></el-input> placeholder="请输入型号" style="width:98%;" size="mini"></el-input>
<span v-else>{{ scope.row.model }}</span> <span v-else>{{ scope.row.model }}</span>
</template> </template>
@ -191,14 +191,14 @@
</el-table-column> </el-table-column>
<el-table-column prop="unit" align="center" label="单位" width="120"> <el-table-column prop="unit" align="center" label="单位" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-if="scope.row.productId == '1878677914447265793'" v-model="scope.row.unit" <el-input v-if="scope.row.productName == '其他'" v-model="scope.row.unit"
placeholder="请输入单位" style="width:98%;" size="mini"></el-input> placeholder="请输入单位" style="width:98%;" size="mini"></el-input>
<span v-else>{{ scope.row.unit }}</span> <span v-else>{{ scope.row.unit }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="price" align="center" label="价格" width="200"> <el-table-column prop="price" align="center" label="价格" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-if="scope.row.productId == '1878677914447265793'" v-model="scope.row.price" <el-input v-if="scope.row.productName == '其他'" v-model="scope.row.price"
placeholder="请输入价格" style="width:98%;" size="mini"> placeholder="请输入价格" style="width:98%;" size="mini">
<template slot="append"></template> <template slot="append"></template>
</el-input> </el-input>

Loading…
Cancel
Save